home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
su.man
< prev
next >
Wrap
Text File
|
1989-07-07
|
1KB
|
67 lines
SU User Commands SU
NNAAMMEE
su - substitute user id temporarily
SSYYNNOOPPSSIISS
ssuu [ -f ] [ - ] [ userid ]
DDEESSCCRRIIPPTTIIOONN
_S_u demands the password of the specified _u_s_e_r_i_d, and if it
is given, changes to that _u_s_e_r_i_d and invokes the Shell _s_h(1)
or _c_s_h(1) without changing the current directory. The user
environment is unchanged except for HOME and SHELL, which
are taken from the password file for the user being substi-
tuted (see _e_n_v_i_r_o_n(7)). The new user ID stays in force
until the Shell exits.
If no _u_s_e_r_i_d is specified, ``root'' is assumed. Only users
in the ``wheel'' group (group 0) can _s_u to ``root'', even
with the root password. To remind the super-user of his
responsibilities, the Shell substitutes `#' for its usual
prompt.
The --ff option prevents _c_s_h(1) from executing the .cshrc
file; thus making _s_u start up faster.
The -- option simulates a full login.
SSEEEE AALLSSOO
sh(1), csh(1)
Sprite v1.0 May 5, 1986 1